import AbstractCanvas from './canvas'
import config from '@/config'
import WallModel from '@/model/wall'

class Wall extends AbstractCanvas<WallModel> {
    public render(): void {
        this.createModels(config.wall.num, WallModel)
        this.renderModels()
    }

    protected setCanvasId(): void {
        this.canvas.classList.add('canvas-wall')
    }
}

export default new Wall()
